define([
	appBasePath + '/app-center/module.js',
    ],
    function(appListModule) {
		appListModule.config([
		    '$stateProvider', 
		    'gbits.websns.appList.config',
		    function($stateProvider, appListConfig) {
		    	var basePath = appListConfig.basePath;		    	
		    	$stateProvider
		        .state(appStatePrefix+'dashboard', {
		        	url: '/dashboard',
		        	templateUrl: basePath + '/view/dashboard.html',
		        	controller:'AppList.DashboardController',
		        	resolve: {
		                load: ['$ocLazyLoad', 
		                    function($ocLazyLoad) {
		                		return $ocLazyLoad.load({
		                			name:'gbits.websns.appList',
		            				files:[
	            				       	basePath + '/controller/DashboardController.js',
		    					 	]}
		        				);
		                	}
		                ]
		            }
		        });
		    	
			}
	    ])	
	}
);
